package com.yn.pet.controller.pc.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class FenceQueryRequest {

    @ApiModelProperty("设备id")
    @NotNull(message = "设备id不能为空")
    private Long deviceId;

    @ApiModelProperty("当前页数")
    private Integer currentPage = 1;

    @ApiModelProperty("每页数量")
    private Integer pageSize = 10;
}
